﻿
using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel.DataAnnotations.Schema;
namespace WinnerCMS.Model
{
    public partial class PhotoList
    {
        public PhotoList()
        {
            this.CreateTime = DateTime.Now;
            this.UpdateTime = DateTime.Now;
        }

        public int Id { get; set; }
        [Index("IX_PhotoList", 1)]
        public int ContentId { get; set; }
        public string Title { get; set; }
        public string ThumbUrl { get; set; }
        public string PicUrl { get; set; }
        public System.DateTime CreateTime { get; set; }
        public System.DateTime UpdateTime { get; set; }
        public string TempFlag { get; set; }
        [Index("IX_PhotoList", 0)]
        public int OrderId { get; set; }

        public virtual Photo ContentPhoto { get; set; }
    }
}